battle of wits

Noun
  1. a contest in which intelligence rather than violence is used
battle of wits
Two chess players engage in a tense battle of wits.